/**
 * Created by Administrator on 2016/8/11.
 */
define(['config/appregister',  "business/services/detailNavComp"],function(app){
    app.controller('footerCtrl',function($scope,$state){
        $scope.isDetailPage = true;
        $scope.isMainpage = false;
		$scope.open = $state.current.controller;
		console.log($scope.open)
		$scope.goOther = function(ctrl){
			$scope.open = ctrl.split('.')[1];
			$state.go(ctrl)
		}
		
    })
});

